const finishedWareHouse = [
  {
    id: 1,
    name: '香煎三文鱼',
    principal: '张三',
    warehouse: '仓库A',
    weight: '100',
    quality: '良好',
    date: '2022-01-01',
  },
  {
    id: 2,
    name: '烤鸭饭',
    principal: '李四',
    warehouse: '仓库B',
    weight: '50',
    quality: '优秀',
    date: '2022-01-02',
  },
  {
    id: 3,
    name: '红烧牛肉面',
    principal: '王五',
    warehouse: '仓库C',
    weight: '200',
    quality: '良好',
    date: '2022-01-03',
  },
  {
    id: 4,
    name: '素食寿司',
    principal: '赵六',
    warehouse: '仓库C',
    weight: '150',
    quality: '良好',
    date: '2022-01-04',
  },
  {
    id: 5,
    name: '意大利面套餐',
    principal: '刘七',
    warehouse: '仓库A',
    weight: '50',
    quality: '优秀',
    date: '2022-01-05',
  },
  {
    id: 6,
    name: '扬州炒饭',
    principal: '陈八',
    warehouse: '仓库B',
    weight: '100',
    quality: '良好',
    date: '2022-01-06',
  },
  {
    id: 7,
    name: '蒜香烤鸡翅',
    principal: '张九',
    warehouse: '仓库B',
    weight: '150',
    quality: '良好',
    date: '2022-01-07',
  },
  {
    id: 8,
    name: '椒盐鱼块',
    principal: '王十',
    warehouse: '仓库C',
    weight: '200',
    quality: '优秀',
    date: '2022-01-08',
  },
];

export default {
  'GET /api/finishedWareHouse': (req: any, res: any) => {
    res.json({
      success: true,
      data: { finishedWareHouse },
      errorCode: 0,
    });
  },
};
